package com.ruoyi.common.core.domain.servicemanage.dto;
import java.util.List;

/**
 * 服务树形节点DTO
 */
public class ServiceTreeNode {
    private Long id;
    private String firstLevelTitle;
    private Integer level; // 1-一级标题，2-二级标题，3-三级标题
    private List<ServiceTreeNode> children;

    // 三级标题特有字段
    private String showPictures;
    private String showIntroduce;
    private String jumpPage;
    private int deleted;


    // 构造方法
    public ServiceTreeNode() {}

    public ServiceTreeNode(Long id, String firstLevelTitle, Integer level) {
        this.id = id;
        this.firstLevelTitle = firstLevelTitle;
        this.level = level;
    }

    // getter和setter方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFirstLevelTitle() {
        return firstLevelTitle;
    }

    public void setFirstLevelTitle(String firstLevelTitle) {
        this.firstLevelTitle = firstLevelTitle;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }


    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }

    public List<ServiceTreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<ServiceTreeNode> children) {
        this.children = children;
    }

    public String getShowPictures() {
        return showPictures;
    }

    public void setShowPictures(String showPictures) {
        this.showPictures = showPictures;
    }

    public String getShowIntroduce() {
        return showIntroduce;
    }

    public void setShowIntroduce(String showIntroduce) {
        this.showIntroduce = showIntroduce;
    }

    public String getJumpPage() {
        return jumpPage;
    }

    public void setJumpPage(String jumpPage) {
        this.jumpPage = jumpPage;
    }
}
